﻿@model List<MVCReview.Models.Marker>

<table class="table table-bordered">
    <tbody>
        @foreach (var x in Model)
        {
            <tr>
                <td>@x.Color</td>
                <td>@x.CapMaterial</td>
                <td>@x.Size</td>
                <td><a href="/Marker/@x.Id" class="btn btn-default">Show Marker</a></td>
                <td><a href="/Home/DeleteMarker/@x.Id" class="btn btn-danger">Delete Marker</a></td>
            </tr>
        }
    </tbody>
</table>
<a href="/Home/CreateMarker/" class="btn btn-success">Add Marker</a>